import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
//svg插件需要的配置代码
import 'virtual:svg-icons-register'
//注册全局组件
import gloablComponent from './components'

const app = createApp(App)
//国际化配置
app.use(ElementPlus, {
    locale: zhCn,
})
app.use(gloablComponent).use(router)
app.mount('#app')
